#include "StdAfx.h"
#include "Terminal.h"


Terminal::Terminal(void)
{
	m_dPosX = 0.0;			
	m_dPosY = 0.0;			
	m_rotateAngle = 0.0;	
	m_iMirrow = 0;			

}


Terminal::~Terminal(void)
{
}

void Terminal::SetPosX(double val)
{
	m_dPosX = val;
}

void Terminal::SetPosY(double val)
{
	m_dPosY = val;
}

void Terminal::SetRotateAngle( double val )
{ 
	m_rotateAngle =val; 
}

void Terminal::SetMirrorFlag( int flag )
{
	m_iMirrow = flag;
}

void Terminal::SetPinDecalName(string &name)
{
	m_strPinDecal = name;
}

void Terminal::SetPinPosX(double val)
{
	m_pinPosX = val;
}

void Terminal::SetPinPosY(double val)
{
	m_pinPosY = val;
}

void Terminal::SetPinRotateAngle( double val )
{
	m_pinRotateAngle = val;
}

void Terminal::SetPinNamePosX(double val)
{
	m_pinNamePosX = val;
}

void Terminal::SetPinNamePosY(double val)
{
	m_pinNamePosY = val;
}

void Terminal::SetPinNameRotateAngle( double val )
{
	m_pinNameRotateAngle = val;
}

void Terminal::SetPinJust(int val)
{
	m_pinJust = val;
}

void Terminal::SetPinNameJust(int val)
{
	m_pinNameJust = val;
}

void Terminal::SetSequence(int val)
{
	m_sequence = val;
}